package com.umpay.business.payment;

import com.umpay.dto.UMFResponse.Message;
import com.umpay.dto.merAccess.req.payment.AppPayOrderAccessReq;
import com.umpay.dto.merAccess.req.payment.PaymentCodePayAccessReq;
import com.umpay.dto.merAccess.req.payment.WechatPlatformPayReq;
import com.umpay.dto.merAccess.res.payment.AppPayOrderAccessRes;
import com.umpay.dto.merAccess.res.payment.PaymentCodePayAccessRes;
import com.umpay.dto.merAccess.res.payment.WechatPlatformPayRes;

import java.util.Map;

/*******************************************************************
 * <br>
 * description : 支付请求业务模块接口
 * @author  cxy
 * @date 2018年7月9日 上午20:37:11
 * @version 1.0
 ******************************************************************/
public interface PaymentBusinessService {
    //公众号支付
    public Message<WechatPlatformPayRes> wechatPlatformPay(WechatPlatformPayReq wechatPlatformPayReq);
    //查询订单POS订单详情
    public Map<String, Object> mposPay(Map<String, Object> req);
    
    public Message<PaymentCodePayAccessRes> paymentCodePay(PaymentCodePayAccessReq  paymentCodePayReq);
    
    //APP支付下单
    public abstract Message<AppPayOrderAccessRes> appPayOrder(AppPayOrderAccessReq appPayReqAccessReq);
    
}